<extend name='Yg/index' />

<block name="main">
<div class="container">
        <div class="row">
            <div class="col-lg-12">
                <h2 class="page-header">
                    <{$title}>
                </h2>
                <ol class="breadcrumb">
                    <li class="active">
                        <i class="fa fa-dashboard"></i> 您的位置 => <{$title}>
                    </li>
                </ol>
            </div>
        </div>
        <div class="mt20 center-block" >
            <a href="<{:U('Home/Notice/index')}>" class="btn btn-info" >首页</a>
        </div>
    </div>

<div class="row">
    <div class="col-md-8 col-md-offset-2">
        <form action="<{:U('insert')}>" method="post" class="h3">

            <!-- 公告标题 -->
            <p style="font-size:25px;">公告标题:</p>
            <input type="text" name="ntitle" value="<{$data.ntitle}>" placeholder="请输入公告标题"><br><br>
            
            <!-- 公告内容 -->
            <textarea name="ncontent" placeholder="请输入内容最多只能输入20字" style="width:500px;height:200px;no-resize;resize:none;"></textarea>
            <br><br>
            
            <input type="submit" value="确认添加">
        </form>
    </div>
</div>
   
</block>